package com.lxf.clouduser.mapper;

import com.lxf.clouduser.bean.UserMsgBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 罗兴发
 * @data 2025/6/18 15:35
 * @description：用户消息-持久层
 */
@Mapper
public interface UserMsgMapper {
    int addUserMsg(@Param("list") List<UserMsgBean> list);

    UserMsgBean getUserMsgById(@Param("id") Integer id);

    int updateMsgStatusById(@Param("list") List<Integer> list,
                            @Param("status") Integer status);

    int delMsgById(@Param("list") List<Integer> list);
}
